package com.boarsoft.boar.demo.order.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.boarsoft.boar.demo.order.biz.PocOrderBiz;
import com.boarsoft.boar.demo.order.entity.PocOrder;
import com.boarsoft.dao.sharding.bean.DaoSharding;

@Service
public class PocOrderGetImpl implements PocOrderGet {

	@Autowired
	private PocOrderBiz orderBiz;

	@DaoSharding(policy = "default", index = 0)
	@Override
	public PocOrder get(String tenantId, int orderId) {
		return orderBiz.get(tenantId, orderId);
	}

}